package web.opodoElements;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="segment",propOrder={"flightNumber","numAvailableSeats","cabin","departureAirport","arrivalAirport","carrierInformation","technicalStops","outboundDate","inboundDate","aircraftName","transportType"})

public class Segment {

	@XmlElement
	private String flightNumber;

	@XmlElement
	private String numAvailableSeats;

	@XmlElement
	private Cabin cabin;

	@XmlElement
	private DepartureAirport departureAirport;

	@XmlElement
	private ArrivalAirport arrivalAirport;
	
	@XmlElement
	private String outboundDate;
	
	@XmlElement
	private String inboundDate;
	
	@XmlElement
	private CarrierInformation carrierInformation;

	@XmlElement
	private String technicalStops;

	@XmlElement
	private String aircraftName;

	@XmlElement
	private String transportType;
	
	public Segment() {
		super();
	}


	public void setFlightNumber(String flightNumber) {
		this.flightNumber = flightNumber;
	}


	public String getFlightNumber() {
		return flightNumber;
	}


	public void setNumAvailableSeats(String numAvailableSeats) {
		this.numAvailableSeats = numAvailableSeats;
	}


	public String getNumAvailableSeats() {
		return numAvailableSeats;
	}


	public void setCabin(Cabin cabin) {
		this.cabin = cabin;
	}


	public Cabin getCabin() {
		return cabin;
	}


	public void setDepartureAirport(DepartureAirport departureAirport) {
		this.departureAirport = departureAirport;
	}


	public DepartureAirport getDepartureAirport() {
		return departureAirport;
	}


	public void setArrivalAirport(ArrivalAirport arrivalAirport) {
		this.arrivalAirport = arrivalAirport;
	}


	public ArrivalAirport getArrivalAirport() {
		return arrivalAirport;
	}


	public void setOutboundDate(String outboundDate) {
		this.outboundDate = outboundDate;
	}


	public String getOutboundDate() {
		return outboundDate;
	}


	public void setInboundDate(String inboundDate) {
		this.inboundDate = inboundDate;
	}


	public String getInboundDate() {
		return inboundDate;
	}


	public void setCarrierInformation(CarrierInformation carrierInformation) {
		this.carrierInformation = carrierInformation;
	}


	public CarrierInformation getCarrierInformation() {
		return carrierInformation;
	}


	public void setTechnicalStops(String technicalStops) {
		this.technicalStops = technicalStops;
	}


	public String getTechnicalStops() {
		return technicalStops;
	}


	public void setAircraftName(String aircraftName) {
		this.aircraftName = aircraftName;
	}


	public String getAircraftName() {
		return aircraftName;
	}


	public void setTransportType(String transportType) {
		this.transportType = transportType;
	}


	public String getTransportType() {
		return transportType;
	}

}
